Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

header.php: group stylesheets and scripts #1320

Merged
merged 1 commit into from
May 18, 2020
Merged

Conversation

XhmikosR
Copy link
Contributor

@XhmikosR XhmikosR commented May 18, 2020

Signed-off-by: XhmikosR [email protected]

By submitting this pull request, I confirm the following: {please fill any appropriate checkboxes, e.g: [X]}

{Please ensure that your pull request is for the 'devel' branch!}

  • I have read and understood the contributors guide, as well as this entire template.
  • I have made only one major change in my proposed changes.
  • I have commented my proposed changes within the code.
  • I have tested my proposed changes.
  • I am willing to help maintain this change if there are issues with it later.
  • I give this submission freely and claim no ownership.
  • It is compatible with the EUPL 1.2 license
  • I have squashed any insignificant commits. (git rebase)
  • I have Signed Off all commits. (git commit --signoff)

There shouldn't be any real difference with this patch.

That being said, in current devel branch there's a slight "glitch" or flashing, if you will. Try it with ctrl+F5: there are sidebars visible slightly for a moment. It's not a huge deal, but such reflows are bad for performance. I haven't identified the root cause yet, but I'll open an issue to track this later.

@XhmikosR
Copy link
Contributor Author

BTW @DL6ER this reminds, perhaps we could have 2 arrays, one for each asset type (stylesheet and script), and move the logic above head and just print the array?

@PromoFaux PromoFaux merged commit 89baa0b into devel May 18, 2020
@PromoFaux PromoFaux deleted the XhmikosR-patch-2 branch May 18, 2020 18:10
@XhmikosR XhmikosR added this to the v5.1 milestone May 29, 2020
@PromoFaux PromoFaux mentioned this pull request Jul 5, 2020
@pralor-bot
Copy link

This pull request has been mentioned on Pi-hole Userspace. There might be relevant details there:

https://discourse.pi-hole.net/t/pi-hole-5-1-released/35577/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants